home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2000-07-07 | 1.3 KB | 53 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="Hardware\Video Cards\NVidia\General"
- "NAME"="NVidia General Options"
- "LANGUAGE"="VBScript"
- "VERSION"="1.04"
- "TEXT 1"="Enable "Hardware Options" tab"
- "DESCRIPTION 1"="If the first option is activated, a new tab is displayed in Control Pabel -> Appearance. "
- "DESCRIPTION 2"="Using this new tab you can directly control the hardware settings for your NVidia card."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
- "COMMENT 2"=""
-
-
- sPC="HKLM\SOFTWARE\NVIDIA Corporation\"
- sV1="HKLM\Software\NVIDIA Corporation\Global\NVTweak\Coolbits"
-
- 'Called when the Plugin is started
- SUB Plugin_Initialize
- if RegPathExists(sPC) then
- i=RegReadValue(sV1)
- if i=3 then SetUIElement 1,true
- else
- Disable
- end if
- END SUB
-
- 'Called when the Plugin should validate the Data the user has entered
- SUB Plugin_CheckData(ElementIndex)
- END SUB
-
-
-
- 'Called when the Plugin should apply the changes
- SUB Plugin_Apply(ElementIndex,ElementSubIndex)
- if GetUIElement(1)=true then
- Call RegWriteValue(sV1,3,2)
- else
- Call RegWriteValue(sV1,0,2)
- end if
-
- END SUB
-
-
-
- 'Called when the Plugin is about to be removed from memory
- SUB Plugin_Terminate
- END SUB
-
-